home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / apparmor.d / abstractions / nameservice < prev    next >
Text File  |  2009-10-17  |  2KB  |  79 lines

  1. # $Id: nameservice 1290 2008-06-11 21:19:36Z jrjohansen $
  2. # ------------------------------------------------------------------
  3. #
  4. #    Copyright (C) 2002-2005 Novell/SUSE
  5. #
  6. #    This program is free software; you can redistribute it and/or
  7. #    modify it under the terms of version 2 of the GNU General Public
  8. #    License published by the Free Software Foundation.
  9. #
  10. # ------------------------------------------------------------------
  11.  
  12.   # Many programs wish to perform nameservice-like operations, such as
  13.   # looking up users by name or id, groups by name or id, hosts by name
  14.   # or IP, etc. These operations may be performed through files, dns,
  15.   # NIS, NIS+, LDAP, hesiod, wins, etc. Allow them all here.
  16.   /etc/group              r,
  17.   /etc/host.conf          r,
  18.   /etc/hosts              r,
  19.   /etc/ldap.conf          r,
  20.   /etc/ldap.secret        r,
  21.   /etc/nsswitch.conf      r,
  22.   /etc/gai.conf           r,
  23.   /etc/passwd             r,
  24.   /etc/protocols          r,
  25.  
  26.   /etc/resolv.conf        r,
  27.   # on systems using resolvconf, /etc/resolv.conf is a symlink to
  28.   # /var/run/resolvconf/resolv.conf and a file sometimes referenced in
  29.   # /etc/resolvconf/run/resolv.conf
  30.   /var/run/resolvconf/resolv.conf r,
  31.   /etc/resolvconf/run/resolv.conf r,
  32.  
  33.   /etc/samba/lmhosts      r,
  34.   /etc/services           r,
  35.   # all openldap config
  36.   /etc/openldap/*         r,
  37.   /etc/ldap/**            r,
  38.   # db backend
  39.   /var/lib/misc/*.db      r,
  40.   # The Name Service Cache Daemon can cache lookups, sometimes leading
  41.   # to vast speed increases when working with network-based lookups.
  42.   /var/run/.nscd_socket   rw,
  43.   /var/run/nscd/socket    rw,
  44.   /var/{db,cache}/nscd/{passwd,group,services,host}    r,
  45.   # nscd renames and unlinks files in it's operation that clients will
  46.   # have open
  47.   /var/run/nscd/db*  rmix,
  48.  
  49.   # The nss libraries are sometimes used in addition to PAM; make sure
  50.   # they are available
  51.   /lib{,32,64}/libnss_*.so*      mr,
  52.   /usr/lib{,32,64}/libnss_*.so*  mr,
  53.   /etc/default/nss               r,
  54.  
  55.   # avahi-daemon is used for mdns4 resolution
  56.   /var/run/avahi-daemon/socket w,
  57.  
  58.   # nis
  59.   #include <abstractions/nis>
  60.  
  61.   # winbind
  62.   #include <abstractions/winbind>
  63.  
  64.   # likewise
  65.   #include <abstractions/likewise>
  66.  
  67.   # mdnsd
  68.   #include <abstractions/mdns>
  69.  
  70.   # kerberos
  71.   #include <abstractions/kerberosclient>
  72.  
  73.   # TCP/UDP network access
  74.   network inet  stream,
  75.   network inet6 stream,
  76.   network inet  dgram,
  77.   network inet6 dgram,
  78.  
  79.